package net.xju3_4.entity;

import java.math.BigDecimal;

public class Car {
    private int id;
    private int merchantId;
    private int typeId;
    private String brand;
    private String model;
    private String color;
    private String licensePlate;
    private BigDecimal dailyRent;
    private int status;
    private String images;
    private int deleted;

    public Car() {
    }

    public Car(String brand, String color, BigDecimal dailyRent, int deleted, int id, String images, String licensePlate, int merchantId, String model, int status, int typeId) {
        this.brand = brand;
        this.color = color;
        this.dailyRent = dailyRent;
        this.deleted = deleted;
        this.id = id;
        this.images = images;
        this.licensePlate = licensePlate;
        this.merchantId = merchantId;
        this.model = model;
        this.status = status;
        this.typeId = typeId;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public BigDecimal getDailyRent() {
        return dailyRent;
    }

    public void setDailyRent(BigDecimal dailyRent) {
        this.dailyRent = dailyRent;
    }

    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getLicensePlate() {
        return licensePlate;
    }

    public void setLicensePlate(String licensePlate) {
        this.licensePlate = licensePlate;
    }

    public int getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(int merchantId) {
        this.merchantId = merchantId;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    @Override
    public String toString() {
        return "Car{" +
                "brand='" + brand + '\'' +
                ", id=" + id +
                ", merchantId=" + merchantId +
                ", typeId=" + typeId +
                ", model='" + model + '\'' +
                ", color='" + color + '\'' +
                ", licensePlate='" + licensePlate + '\'' +
                ", dailyRent=" + dailyRent +
                ", status=" + status +
                ", images='" + images + '\'' +
                ", deleted=" + deleted +
                '}';
    }
}
